#pragma once
#include "../drawopencv.h"
class CDrawDrawing :
	public CDrawOpenCV 
{
public:
	CDrawDrawing(void);
	virtual ~CDrawDrawing(void);
	DECLARE_MESSAGE_MAP()
public:
	// DealwithFrame
	virtual void DealwithFrame(void);
private:
	int line_type; // change it to 8 to see non-antialiased graphics
    int i;
    CvPoint pt1,pt2;
    double angle;
    CvSize sz;
    CvPoint  ptt[6];
    CvPoint* pt[2];
    int  arr[2];
    CvFont font;
    CvRNG rng;
    int width , height;
    int width3, height3;
    CvSize text_size;
    int ymin;
	CvScalar RandomColor(CvRNG* rng);
};

